package com.demo.dao.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.model.entity.Tenant;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TenantMapper extends BaseMapper<Tenant> {

    @InterceptorIgnore(tenantLine = "true")
    List<Tenant> queryWithoutTenant(@Param("name") String name);
}
